// src/router/index.ts
import { createRouter, createWebHistory } from "vue-router";

// 导入组件

const router = createRouter({
	history: createWebHistory(import.meta.env.BASE_URL),
	routes: [
		{
			path: "/",
			name: "Home",
			component: () => import("../views/Home.vue"),
		},
		// 可以添加更多路由
	],
});

export default router;
